package com.zy.cloud;

import com.zy.rule.MySeltRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @ClassName: CustomerServer80
 * @Description: #TODO
 * @Author: yanzy
 * @Date: 2021/3/1 23:07
 */
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient
@RibbonClient(name = "CLOUD-PROVIDER-SERVER", configuration = MySeltRule.class)
public class CustomerServer80 {

    public static void main(String[] args) {

        SpringApplication.run(CustomerServer80.class, args);
    }
}
